<!doctype html>
<html class="os_win7"><!--os_winXp,os_mac,os_vista,os_win7-->
<head>
	<meta charset="utf-8" />
	<title>QAMS</title>
	<link href="css/project.css" rel="stylesheet" media="screen" />
</head>
<body>
	<div class="body">
		<div id="qam_notify_area" class="sys_notify_pane pane_w" style="display:none"><div class="sys_notify_pane_inner">123</div></div>

			<!-- 添加模块 开始 -->
			<div class="mod_module_add">
				<div class="hd">
					<h2><i class="ico ico_project_add"></i><span id="page_title">添加</span></h2>
				</div>
				<div class="bd">
					<!-- 添加项目表单 开始 -->
					<div class="form_project_add">
						<form action="">
							<div class="panel">
								<span class="panel_tit"><i class="required">*</i>名称：</span>
								<div class="panel_main">
									<input type="text" class="inputstyle" id="name" />
								</div>
								<!-- 表单提示-错误提示 开始 -->
									<div class="fhint fhint_error" id="fhint_area_name" style="display:none">
										<i class="ico ico_error"  id="fhint_ico"></i> <span id="fhint_text">错误提示...</span>
										<i class="ico ico_arrow"></i>
									</div>
								<!-- 表单提示-错误提示 结束 -->
							</div>
							<div class="panel">
								<span class="panel_tit">描述：</span>
								<div class="panel_main">
									<input type="text" class="inputstyle" style="width:432px;" id="info"  />
								</div>
							</div>
							<div class="panel">
								<span class="panel_tit"><i class="required">*</i>所属项目：</span>
								<div class="panel_main">
									<!-- 多选框 开始 -->
									<div class="type_select">
										<div class="like_select"><input type="hidden" id="parent_id" value="" /><p id="parent_id_name">选择主项目...</p><span class="icon_down"></span></div>
										<div class="select_drop_down" id="parent_id_list" style="display:none">
										</div>
									</div>
									<!-- 多选框 结束 -->
									<!-- 多选框 开始 -->
									<div class="type_select">
										<div class="like_select"><input type="hidden" id="sub_id" value="" /><p id="sub_id_name">选择子项目</p><span class="icon_down"></span></div>
										<div class="select_drop_down" id="sub_id_list" style="display:none">
										</div>
									</div>
									<!-- 多选框 结束 -->
								</div>
							</div>
							<div class="panel">
								<span class="panel_tit"><i class="required">*</i>html代码：</span>
								<div class="panel_main">
									<div class="code_attr">
										<span class="code_attr_tit">常用：</span>
										<a href="javascript:void(0)" onclick="html_format()" class="code_attr_btn">格式化</a>
										<a href="javascript:void(0)" onclick="html_set('tab')" class="code_attr_btn">tab</a>
										<a href="javascript:void(0)" onclick="html_set('class')" class="code_attr_btn">class</a>
										<a href="javascript:void(0)" onclick="html_set('place')" class="code_attr_btn">占位图</a>
										<span class="code_attr_tit code_attr_tit_insert">插入：</span>
										<a href="javascript:void(0)" onclick="html_set('obj_div')">对象div</a> |
										<a href="javascript:void(0)" onclick="html_set('div')">div</a> |
										<a href="javascript:void(0)" onclick="html_set('span')">span</a> |
										<a href="javascript:void(0)" onclick="html_set('p')">p</a> |
										<a href="javascript:void(0)" onclick="html_set('ul')">ul</a> |
										<a href="javascript:void(0)" onclick="html_set('img')">img</a> |
										<a href="javascript:void(0)" onclick="html_set('table')">table</a> |
										<a href="javascript:void(0)" onclick="html_set('a')">a</a>
										<!--<a href="javascript:void(0)" onclick="html_more()">more</a>-->
										<a href="javascript:void(0)" onclick="html_more()" class="comment_zk">更多<i class="ico ico_zk"></i>
											<!--<i class="ico ico_sq"></i>-->
										</a>
									</div>
									<div class="code_attr" id="code_attr_more" style="display:none">
										<span class="code_attr_tit">高阶操作：</span>
										【<a href="javascript:void(0)" title="标志布局或容器的标签可以插入数据" onclick="html_add(0)">data_container</a>】
										【<a href="javascript:void(0)" title="控制数据是否可见&#13;请添加完后需要提取参数才能正常使用" onclick="html_add(1)">数据可见start</a> |
										<a href="javascript:void(0)" title="控制数据是否可见&#13;如果未设置默认显示&#13;控制的内容在start与end间" onclick="html_add(2)">数据可见end</a>】
										【<a href="javascript:void(0)" title="控制数据循环次数&#13;如果未设置默认循环一次&#13;控制的内容在start与end间" onclick="html_add(3)">循环输出start</a> |
										<a href="javascript:void(0)" title="控制数据循环次数&#13;如果未设置默认循环一次&#13;控制的内容在start与end间" onclick="html_add(4)">循环输出end</a>】
									</div>
									<textarea id="html"  class="textarea_style"></textarea>
								</div>
							</div>
							<div class="panel">
								<span class="panel_tit"><i class="required">*</i>css代码：</span>
								<div class="panel_main">
									<textarea id="css" class="textarea_style"></textarea>
								</div>
							</div>
							<div class="panel">
								<span class="panel_tit">预览CSS：</span>
									<div class="panel_main">
										<div class="code_attr">
											<p class="code_attr_tit">只在页面预览时生效，方便预览效果、生成截图等，在实际使用时中无效</p>
									</div>
									<textarea id="css_preview" class="textarea_style"></textarea>
								</div>
							</div>
							<div class="panel">
								<span class="panel_tit">JS代码：</span>
								<div class="panel_main">
									<textarea id="js" class="textarea_style"></textarea>
								</div>
							</div>
						</form>
					</div>
					<!-- 添加项目表单 结束 -->
				</div>
				<div class="ft">
					<div class="btns">
						<a href="javascript:void(0)" class="btn btn_ok" id="btn_save"><span>保存</span></a> <a href="javascript:void(0)" id="btn_cancel">取消</a>
					</div>
				</div>
			</div>
			<!-- 添加模块 结束 -->
	</div>

<div id="message_div"></div>

<script src="js/jquery-1.6.4.min.js" type="text/javascript"></script>
<script src="js/public.js" type="text/javascript"></script>
<script src="js/functions.js" type="text/javascript"></script>
<script src="js/code.js" type="text/javascript"></script>

<script type="text/javascript">
    $(document).ready(function () {
        code.loadProject();
    });




</script>

</body>
</html>
